﻿using MangoMes.Commont.DTOs;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace MangoMes.Write.API.Applications.SellStockSearchWrite
{
    public class ProductsSaleCreateCommand : IRequest<ResultsDTO>
    {
        /// <summary>
        /// 产品销售主键
        /// </summary>
        public int ProductsSaleId { get; set; }
        /// <summary>
        /// 产品销售编号
        /// </summary>
        public string ProductsSaleNo { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int StashId { get; set; }
        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 是否出库
        /// </summary>
        public int ProductsSaleYesNo { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string ProductsSaleDemand { get; set; }
        /// <summary>
        /// 销售出库编号
        /// </summary>
        public string SellStockNo { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string ProductManageNode { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int ProductsSaleNum { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string ProductsSaleBuer { get; set; }
    }
}
